PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Sparkle / Glimmer Mirror / 362.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=2 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=2 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.925 |
| 9 | fVideoEchoZoom=1.007 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=3 |
| 12 | nWaveMode=1 |
| 13 | bAdditiveWaves=1 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=1 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.000 |
| 26 | fWaveScale=0.000 |
| 27 | fWaveSmoothing=0.000 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.000 |
| 30 | fModWaveAlphaEnd=1.000 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99950 |
| 36 | rot=0.10000 |
| 37 | cx=2.000 |
| 38 | cy=2.000 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01105 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.000 |
| 48 | wave_y=0.000 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=31.000 |
| 60 | nMotionVectorsY=24.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.000 |
| 64 | mv_r=0.000 |
| 65 | mv_g=0.000 |
| 66 | mv_b=0.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=187 |
| 77 | wavecode_0_sep=9 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=1 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=1 |
| 82 | wavecode_0_scaling=0.00000 |
| 83 | wavecode_0_smoothing=0.00000 |
| 84 | wavecode_0_r=0.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=0.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wave_0_per_frame1=t1 = 1; |
| 89 | wave_0_per_frame2=t3 = sin(time/2); |
| 90 | wave_0_per_frame3=t3 = max (t3,0); |
| 91 | wave_0_per_frame4=t3 = 4.9*min(t3,.2); |
| 92 | wave_0_per_frame5= |
| 93 | wave_0_per_point1=t1 = (t1*67+37)%4096; |
| 94 | wave_0_per_point2=t2 = t1/4096; |
| 95 | wave_0_per_point3= |
| 96 | wave_0_per_point4=k1 = (100*sample+time*2)%2; |
| 97 | wave_0_per_point5=k2 = (100*sample+time*5)%2; |
| 98 | wave_0_per_point6= |
| 99 | wave_0_per_point7=x = .49 + .48*sin(sample*31+t2*time/27); |
| 100 | wave_0_per_point8=y = 0 + .2*t2 + .2*sin(sample*131+t2*time/7); |
| 101 | wave_0_per_point9= |
| 102 | wave_0_per_point10= |
| 103 | wave_0_per_point11= |
| 104 | wave_0_per_point12=a = 1; |
| 105 | wave_0_per_point13=r = .07; |
| 106 | wave_0_per_point14= |
| 107 | wavecode_1_enabled=1 |
| 108 | wavecode_1_samples=512 |
| 109 | wavecode_1_sep=0 |
| 110 | wavecode_1_bSpectrum=0 |
| 111 | wavecode_1_bUseDots=0 |
| 112 | wavecode_1_bDrawThick=0 |
| 113 | wavecode_1_bAdditive=0 |
| 114 | wavecode_1_scaling=0.00000 |
| 115 | wavecode_1_smoothing=0.00000 |
| 116 | wavecode_1_r=1.000 |
| 117 | wavecode_1_g=1.000 |
| 118 | wavecode_1_b=1.000 |
| 119 | wavecode_1_a=0.000 |
| 120 | wave_1_per_frame1=t1 = 1; t2 = 7; |
| 121 | wave_1_per_point1=r = .31; |
| 122 | wave_1_per_point2=b = 0; |
| 123 | wave_1_per_point3=g = .0; |
| 124 | wave_1_per_point4= |
| 125 | wave_1_per_point5=a = 1; |
| 126 | wave_1_per_point6=//g = 1;b=1; |
| 127 | wave_1_per_point7= |
| 128 | wave_1_per_point8=t1 = (t1*67 + 37)%4096; |
| 129 | wave_1_per_point9=px = (t1-2047)/4096; |
| 130 | wave_1_per_point10= |
| 131 | wave_1_per_point11=t2 = (t2*67 + 37)%4096; |
| 132 | wave_1_per_point12=py = (t2-0)/4096; |
| 133 | wave_1_per_point13= |
| 134 | wave_1_per_point14= |
| 135 | wave_1_per_point15=k1 = (sample*100)%8; |
| 136 | wave_1_per_point16= |
| 137 | wave_1_per_point17=y = py/3.5 + .0; |
| 138 | wave_1_per_point18=a = below(y,.2); |
| 139 | wave_1_per_point19= |
| 140 | wave_1_per_point20=x = .5 + .4*sin(sample*26) ; |
| 141 | wave_1_per_point21= |
| 142 | wavecode_2_enabled=1 |
| 143 | wavecode_2_samples=100 |
| 144 | wavecode_2_sep=0 |
| 145 | wavecode_2_bSpectrum=0 |
| 146 | wavecode_2_bUseDots=0 |
| 147 | wavecode_2_bDrawThick=0 |
| 148 | wavecode_2_bAdditive=0 |
| 149 | wavecode_2_scaling=0.00000 |
| 150 | wavecode_2_smoothing=0.00000 |
| 151 | wavecode_2_r=1.000 |
| 152 | wavecode_2_g=1.000 |
| 153 | wavecode_2_b=1.000 |
| 154 | wavecode_2_a=0.000 |
| 155 | wave_2_per_frame1= |
| 156 | wave_2_per_frame2=t1 = sin(time*3); |
| 157 | wave_2_per_frame3=t2 = cos(time*3); |
| 158 | wave_2_per_frame4= |
| 159 | wave_2_per_frame5=t3 = sin(time/3); |
| 160 | wave_2_per_frame6=t4 = cos(time/3); |
| 161 | wave_2_per_frame7= |
| 162 | wave_2_per_frame8=t5 = cos(time/4)/2; |
| 163 | wave_2_per_frame9= |
| 164 | wave_2_per_frame10=//give him a break |
| 165 | wave_2_per_frame11=//bird = 1; |
| 166 | wave_2_per_frame12= |
| 167 | wave_2_per_frame13=ground = below(t5,-.9); |
| 168 | wave_2_per_frame14=trig = below(rand(100),1); |
| 169 | wave_2_per_frame15=trig = trig * bnot(ground) * bnot(bird); |
| 170 | wave_2_per_frame16=bird = bird * bnot(ground); |
| 171 | wave_2_per_frame17= |
| 172 | wave_2_per_frame18=bird = bnot(bird)*trig; |
| 173 | wave_2_per_frame19= |
| 174 | wave_2_per_frame20=t6 = bird; |
| 175 | wave_2_per_point1= |
| 176 | wave_2_per_point2=r = 1; g = 0; b = 0; |
| 177 | wave_2_per_point3=k1 = below(sample,.5); |
| 178 | wave_2_per_point4= |
| 179 | wave_2_per_point5=dx = .01*k1*sin(sample*50); |
| 180 | wave_2_per_point6= |
| 181 | wave_2_per_point7= |
| 182 | wave_2_per_point8=f1 = sqr(dx); |
| 183 | wave_2_per_point9= |
| 184 | wave_2_per_point10=dy = 40*f1*t1 + t2/150; |
| 185 | wave_2_per_point11=dy = dy+ (1-k1) * .002*sin(sample*50); |
| 186 | wave_2_per_point12= |
| 187 | wave_2_per_point13=x = dx + .5 + .1*t3; |
| 188 | wave_2_per_point14= |
| 189 | wave_2_per_point15=dy = dy + .2*dx*t4; |
| 190 | wave_2_per_point16= |
| 191 | wave_2_per_point17=y0 = t5; |
| 192 | wave_2_per_point18=y = dy+ .5 + y0/8; |
| 193 | wave_2_per_point19= |
| 194 | wave_2_per_point20=a = .04; |
| 195 | wave_2_per_point21= |
| 196 | wave_2_per_point22= |
| 197 | wavecode_3_enabled=0 |
| 198 | wavecode_3_samples=512 |
| 199 | wavecode_3_sep=0 |
| 200 | wavecode_3_bSpectrum=1 |
| 201 | wavecode_3_bUseDots=1 |
| 202 | wavecode_3_bDrawThick=0 |
| 203 | wavecode_3_bAdditive=0 |
| 204 | wavecode_3_scaling=1.00000 |
| 205 | wavecode_3_smoothing=0.00000 |
| 206 | wavecode_3_r=1.000 |
| 207 | wavecode_3_g=1.000 |
| 208 | wavecode_3_b=1.000 |
| 209 | wavecode_3_a=1.000 |
| 210 | shapecode_0_enabled=1 |
| 211 | shapecode_0_sides=4 |
| 212 | shapecode_0_additive=0 |
| 213 | shapecode_0_thickOutline=0 |
| 214 | shapecode_0_textured=1 |
| 215 | shapecode_0_num_inst=1 |
| 216 | shapecode_0_x=0.000 |
| 217 | shapecode_0_y=0.130 |
| 218 | shapecode_0_rad=0.59124 |
| 219 | shapecode_0_ang=0.62832 |
| 220 | shapecode_0_tex_ang=0.62832 |
| 221 | shapecode_0_tex_zoom=0.59123 |
| 222 | shapecode_0_r=1.000 |
| 223 | shapecode_0_g=0.000 |
| 224 | shapecode_0_b=0.000 |
| 225 | shapecode_0_a=1.000 |
| 226 | shapecode_0_r2=1.000 |
| 227 | shapecode_0_g2=0.000 |
| 228 | shapecode_0_b2=0.000 |
| 229 | shapecode_0_a2=0.000 |
| 230 | shapecode_0_border_r=0.000 |
| 231 | shapecode_0_border_g=0.000 |
| 232 | shapecode_0_border_b=0.000 |
| 233 | shapecode_0_border_a=0.000 |
| 234 | shapecode_1_enabled=0 |
| 235 | shapecode_1_sides=4 |
| 236 | shapecode_1_additive=0 |
| 237 | shapecode_1_thickOutline=0 |
| 238 | shapecode_1_textured=1 |
| 239 | shapecode_1_num_inst=1 |
| 240 | shapecode_1_x=0.000 |
| 241 | shapecode_1_y=0.000 |
| 242 | shapecode_1_rad=0.00000 |
| 243 | shapecode_1_ang=0.00000 |
| 244 | shapecode_1_tex_ang=0.00000 |
| 245 | shapecode_1_tex_zoom=0.00000 |
| 246 | shapecode_1_r=1.000 |
| 247 | shapecode_1_g=1.000 |
| 248 | shapecode_1_b=1.000 |
| 249 | shapecode_1_a=0.000 |
| 250 | shapecode_1_r2=1.000 |
| 251 | shapecode_1_g2=1.000 |
| 252 | shapecode_1_b2=1.000 |
| 253 | shapecode_1_a2=0.000 |
| 254 | shapecode_1_border_r=0.000 |
| 255 | shapecode_1_border_g=0.000 |
| 256 | shapecode_1_border_b=0.000 |
| 257 | shapecode_1_border_a=0.000 |
| 258 | shapecode_2_enabled=0 |
| 259 | shapecode_2_sides=14 |
| 260 | shapecode_2_additive=1 |
| 261 | shapecode_2_thickOutline=0 |
| 262 | shapecode_2_textured=1 |
| 263 | shapecode_2_num_inst=1 |
| 264 | shapecode_2_x=0.000 |
| 265 | shapecode_2_y=0.000 |
| 266 | shapecode_2_rad=1.00000 |
| 267 | shapecode_2_ang=0.00000 |
| 268 | shapecode_2_tex_ang=0.00000 |
| 269 | shapecode_2_tex_zoom=0.00000 |
| 270 | shapecode_2_r=0.000 |
| 271 | shapecode_2_g=0.000 |
| 272 | shapecode_2_b=0.000 |
| 273 | shapecode_2_a=0.000 |
| 274 | shapecode_2_r2=0.000 |
| 275 | shapecode_2_g2=0.000 |
| 276 | shapecode_2_b2=0.000 |
| 277 | shapecode_2_a2=0.000 |
| 278 | shapecode_2_border_r=0.000 |
| 279 | shapecode_2_border_g=0.000 |
| 280 | shapecode_2_border_b=0.000 |
| 281 | shapecode_2_border_a=0.000 |
| 282 | shape_2_per_frame1=x = .5+.3*cos(time/78); |
| 283 | shape_2_per_frame2=y = .5+.3*sin(time/78); |
| 284 | shape_2_per_frame3= |
| 285 | shape_2_per_frame4=tex_zoom = .2 / (sin(time/31)+1.1) |
| 286 | shape_2_per_frame5= |
| 287 | shape_2_per_frame6= |
| 288 | shapecode_3_enabled=0 |
| 289 | shapecode_3_sides=63 |
| 290 | shapecode_3_additive=1 |
| 291 | shapecode_3_thickOutline=0 |
| 292 | shapecode_3_textured=1 |
| 293 | shapecode_3_num_inst=1 |
| 294 | shapecode_3_x=0.000 |
| 295 | shapecode_3_y=0.000 |
| 296 | shapecode_3_rad=0.00000 |
| 297 | shapecode_3_ang=0.00000 |
| 298 | shapecode_3_tex_ang=0.00000 |
| 299 | shapecode_3_tex_zoom=0.00000 |
| 300 | shapecode_3_r=0.000 |
| 301 | shapecode_3_g=0.000 |
| 302 | shapecode_3_b=0.000 |
| 303 | shapecode_3_a=0.000 |
| 304 | shapecode_3_r2=1.000 |
| 305 | shapecode_3_g2=1.000 |
| 306 | shapecode_3_b2=1.000 |
| 307 | shapecode_3_a2=0.000 |
| 308 | shapecode_3_border_r=0.000 |
| 309 | shapecode_3_border_g=0.000 |
| 310 | shapecode_3_border_b=0.000 |
| 311 | shapecode_3_border_a=0.000 |
| 312 | shape_3_per_frame1=x = .5+.3*cos(time/59); |
| 313 | shape_3_per_frame2=y = .5+.3 *sin(time/59); |
| 314 | per_frame_1=warp = 0; |
| 315 | per_frame_2=//zoom = 1; |
| 316 | per_frame_3= |
| 317 | per_frame_4=tic = min(time-tin,.1); |
| 318 | per_frame_5=tin = time; |
| 319 | per_frame_6= |
| 320 | per_frame_7=vol = (bass_att + treb_att + mid_att)*.333333; |
| 321 | per_frame_8= |
| 322 | per_frame_9=ra = 1/tic*.25; |
| 323 | per_frame_10= |
| 324 | per_frame_11=treb_avg = tic*(treb_avg*(1/tic - ra) + ra*treb); |
| 325 | per_frame_12=mid_avg = tic*(mid_avg*(1/tic - ra) + ra*mid); |
| 326 | per_frame_13=bass_avg = tic*(bass_avg*(1/tic - ra) + ra*bass); |
| 327 | per_frame_14=vav = tic*(vav*(1/tic - ra) + ra*(bass+treb+mid)*.33333); |
| 328 | per_frame_15= |
| 329 | per_frame_16=tt = tt + tic*treb; |
| 330 | per_frame_17=mt = mt + tic*mid; |
| 331 | per_frame_18=bt = bt + tic*bass; |
| 332 | per_frame_19=vt = vt + tic*vav; |
| 333 | per_frame_20= |
| 334 | per_frame_21=q1 = tt*3;// wave morph speeds |
| 335 | per_frame_22=q2 = mt*3; |
| 336 | per_frame_23=q3 = bt*3; |
| 337 | per_frame_24= |
| 338 | per_frame_25=q4 = vt; // wave colour cycle |
| 339 | per_frame_26= |
| 340 | per_frame_27=rb = if(rb,rb,.2 + rand(1001)*.001*.6); |
| 341 | per_frame_28=rc = if(rc,rc,.2 + rand(1001)*.001*.6); |
| 342 | per_frame_29=rd = if(rd,rd,.2 + rand(1001)*.001*.6); |
| 343 | per_frame_30=re = if(re,re,.2 + rand(1001)*.001*.6); |
| 344 | per_frame_31= |
| 345 | per_frame_32= |
| 346 | per_frame_33=ti = vt*2; |
| 347 | per_frame_34=cx = .3 + .1*sin(ti*re) + .1*cos(ti*rc); |
| 348 | per_frame_35=cy = .5 + .2*sin(ti*rb) + .1*cos(ti*rd); |
| 349 | per_frame_36= |
| 350 | per_frame_37= |
| 351 | per_frame_38=q7 = 6; |
| 352 | per_frame_39=q8 = 2; |
| 353 | per_pixel_1=xnum = q7; |
| 354 | per_pixel_2=ynum = q8; |
| 355 | per_pixel_3=pi = 3.141592654; |
| 356 | per_pixel_4= |
| 357 | per_pixel_5=xseg = int(x*xnum); |
| 358 | per_pixel_6=yseg = int(y*ynum); |
| 359 | per_pixel_7= |
| 360 | per_pixel_8=xsw = equal((xseg+equal(yseg%2,0))%2,0); |
| 361 | per_pixel_9=ysw = equal((yseg+1)%2,0); |
| 362 | per_pixel_10= |
| 363 | per_pixel_11= |
| 364 | per_pixel_12=ox = x - xseg*(1/xnum); |
| 365 | per_pixel_13=ox = if(xsw,1/xnum - ox,ox); |
| 366 | per_pixel_14= |
| 367 | per_pixel_15=oy = y - yseg*(1/ynum); |
| 368 | per_pixel_16=oy = if(ysw,1/ynum - oy,oy); |
| 369 | per_pixel_17= |
| 370 | per_pixel_18=dx = above(xseg+yseg,0)*(x-ox); |
| 371 | per_pixel_19=dy = above(xseg+yseg,0)*(y-oy); |
| 372 | per_pixel_20= |
| 373 | per_pixel_21=rot = rot*(1-above(xseg+yseg,0)); |
| 374 | per_pixel_22= |
| 375 | per_pixel_23=//dx = equal(seg,1)*(x - .5)*2; |
| 376 | warp_1=`sampler sampler_worms; |
| 377 | warp_2=`float3 color, mus; |
| 378 | warp_3=`float dx,dy; |
| 379 | warp_4=`shader_body { |
| 380 | warp_5=` |
| 381 | warp_6=` |
| 382 | warp_7=`float2 uv1 = (uv-.5) * aspect.xy; |
| 383 | warp_8=` |
| 384 | warp_9=`float2 uv6 = uv1; |
| 385 | warp_10=`float z = q10*24*length(((uv1.x)*(uv1.y))); |
| 386 | warp_11=`float2 d = normalize(uv1); |
| 387 | warp_12=`float2 rs = clamp(tan(z)*d,-2,2); |
| 388 | warp_13=`uv += .1*lum(GetBlur1(uv))*float2 (0,1); |
| 389 | warp_14=`uv -= rs/250; |
| 390 | warp_15=` |
| 391 | warp_16=`uv6 = .4*sin(uv*6+rand_frame*6); |
| 392 | warp_17=`mus = .1/(length(uv6)); |
| 393 | warp_18=`mus *= .5*(1+roam_cos); |
| 394 | warp_19=` |
| 395 | warp_20=`float3 blur = GetBlur2(frac(uv)); |
| 396 | warp_21=` |
| 397 | warp_22=`float3 crisp= tex2D(sampler_main,uv); |
| 398 | warp_23=` |
| 399 | warp_24=`float3 ret1 = crisp - blur*.02 + .1*mus; |
| 400 | warp_25=` |
| 401 | warp_26=`q25 = 1; |
| 402 | warp_27=`ret = q25*(ret1*.99-.028) + (1-q25)* GetPixel(uv_orig); |
| 403 | warp_28=` |
| 404 | warp_29=`} |
| 405 | comp_1=`shader_body |
| 406 | comp_2=`{ |
| 407 | comp_3=`uv = (uv-.5)* aspect.xy + .5; |
| 408 | comp_4=`float2 uv1 = 1-uv; |
| 409 | comp_5=` |
| 410 | comp_6=`float3 ret0 = tex2D (sampler_main,uv) +2*GetBlur2 (uv); |
| 411 | comp_7=`float3 ret1 = tex2D (sampler_main,uv1) + 2*GetBlur2 (uv1); |
| 412 | comp_8=` |
| 413 | comp_9=` |
| 414 | comp_10=` |
| 415 | comp_11=` |
| 416 | comp_12=`ret = ret0 + ret1 ; |
| 417 | comp_13=` |
| 418 | comp_14=` ret *= 1.2; //gamma |
| 419 | comp_15=`// ret *= ret; //darken |
| 420 | comp_16=`} |